//
//  AliPayModel.h
//  SoundPill
//
//  Created by 宋旭东 on 15/12/29.
//  Copyright © 2015年 宋旭东. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <AlipaySDK/AlipaySDK.h>
#import "Order.h"
#import "DataSigner.h"
@interface Product : NSObject{
@private
    float     _price;
    NSString *_subject;
    NSString *_body;
    NSString *_orderId;
}
@property (nonatomic, assign) float price;
@property (nonatomic, copy) NSString *subject;
@property (nonatomic, copy) NSString *body;
@property (nonatomic, copy) NSString *orderId;

@end

@interface AliPayModel : NSObject
- (NSString *)generateTradeNO;
- (void)pay:(NSString *)title price:(NSString *)price body:(NSString *)body work_id:(NSString *)work_id telNumber:(NSString *)number;
- (void)pay:(NSString *)title price:(NSString *)price goods:(NSString *)goods body:(NSString *)body work_id:(NSString *)work_id address:(NSString *)address;
@end
